# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="erformance monitor of applications and operating system with the ability to track availability and in the future, service level. It's design goals are to be of modest size, flexible and ubiquitous."
HOMEPAGE="http://systemgarden.com/habitat/"
SRC_URI="http://systemgarden.com/habitat/download/${P}-src.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

S=${WORKDIR}/${P}-src

RDEPEND=">=x11-libs/gtk+-2.4.0
		sys-libs/readline"	
DEPEND="${RDEPEND}
        dev-util/pkgconfig
        app-text/scrollkeeper"

src_compile() {
	local myconf
	perl Makefile.PL ${myconf} PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}
	emake || die "make failed."
}

src_install() {
	einstall || die "install failed."
}
